<div id="wrapper_container">
    <!-- InstanceBeginEditable name="Hot news option" -->
    <!-- InstanceEndEditable -->
    <div class="w980 left">
        <!-- InstanceBeginEditable name="Content col left" -->
        <div id="post">
            <div class="breakcrumb">
                <p><a href="<?php echo BASE_URL_CLUB;?>">Câu lạc bộ tôi yêu</a>  »  Viết bài dự thi </p>
            </div>
            <div class="content">
                <form id="frmPost" name="frmPost" method="POST" enctype="multipart/form-data" action="">
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <?php if ( $this->error['code']==1 && !empty($this->error['db']) ) {?>
                        <tr>
                            <td width="150">&nbsp;</td>
                            <td>
                                <span style="color: red; font-size: 12px; font-weight: bold;"><?php echo $this->error['db'];?></span>
                            </td>
                        </tr>
                    <?php }//end if?>
                        <tr>
                            <td width="150">Tiêu đề:</td>
                            <td>
                            <?php if ( $this->error['code']==1 && !empty($this->error['title']) ) {?>
                                <span id="title_err" style="color: red; font-size: 12px; font-weight: bold;"><?php echo $this->error['title'];?></span>
                            <?php } else {?>
                                <span id="title_err" style="display: none; color: red; font-size: 12px; font-weight: bold;"></span>
                            <?php }//end if?>
                                <input type="text" name="txtTitle" id="txtTitle" maxlength="200" value="<?php echo $this->escape($this->arrPost['title']);?>" tabindex="1" />
                            </td>
                        </tr>
                        <tr>
                            <td>Hình đại diện:</td>
                            <td>
                                <input type="file" name="txtfile" id="txtfile" tabindex="2" />
                            </td>
                        </tr>
                        <tr>
                            <td>Nội dung:</td>
                            <td>
                                <div class="fck">
                                    <?php if ( $this->error['code']==1 && !empty($this->error['content']) ) {?>
                                        <span id="content_err" style="color: red; font-size: 12px; font-weight: bold;"><?php echo $this->error['content'];?></span>
                                    <?php } else {?>
                                        <span id="content_err" style="display: none; color: red; font-size: 12px; font-weight: bold;"></span>
                                    <?php }//end if?>
                                    <textarea cols="25" rows="5" name="ck_content" id="ck_content" tabindex="3"><?php echo $this->arrPost['content'];?></textarea>
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td>&nbsp;</td>
                            <td>
                                <input class="dangbai" name="submit" type="submit" value="Đăng bài" onclick="PostAritcle.post();" tabindex="4" />
                                <input class="dangbai" name="preview" type="submit" value="Xem trước" onclick="PostAritcle.preview();" tabindex="5" />
                                <input class="xoabai" name="cancel" type="button" value="Bỏ qua" onclick="window.location='<?php echo BASE_URL_CLUB;?>';" tabindex="6" />
                            </td>
                        </tr>
                    </table>
                </form>
            </div>
        </div>
        <!-- InstanceEndEditable -->
    </div>
</div>